package com.detooa.detooa.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.detooa.common.annotation.Excel;
import com.detooa.common.core.domain.BaseEntity;

/**
 * 推送配置信息对象 de_to_oa_config
 * 
 * @author detooa
 * @date 2024-01-17
 */
public class DeToOaConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long configId;

    /** 看板ID */
    @Excel(name = "看板ID")
    private String resourceId;

    /** 看板名称 */
    @Excel(name = "看板名称")
    private String resourceName;

    /** 接收人工号 */
    @Excel(name = "接收人工号")
    private String loginIdList;

    /** 推送标题 */
    @Excel(name = "推送标题")
    private String title;

    /** 推送模版内容 */
    @Excel(name = "推送模版内容")
    private String context;

    /** 是否启用 */
    @Excel(name = "是否启用")
    private String status;

    /** 删除标志 */
    private String delFlag;

    public void setConfigId(Long configId) 
    {
        this.configId = configId;
    }

    public Long getConfigId() 
    {
        return configId;
    }
    public void setResourceId(String resourceId) 
    {
        this.resourceId = resourceId;
    }

    public String getResourceId() 
    {
        return resourceId;
    }
    public void setResourceName(String resourceName) 
    {
        this.resourceName = resourceName;
    }

    public String getResourceName() 
    {
        return resourceName;
    }
    public void setLoginIdList(String loginIdList) 
    {
        this.loginIdList = loginIdList;
    }

    public String getLoginIdList() 
    {
        return loginIdList;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setContext(String context) 
    {
        this.context = context;
    }

    public String getContext() 
    {
        return context;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("configId", getConfigId())
            .append("resourceId", getResourceId())
            .append("resourceName", getResourceName())
            .append("loginIdList", getLoginIdList())
            .append("title", getTitle())
            .append("context", getContext())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
